package club.caihappy.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;

/**
 * Created by DELL on 2021/10/20
 **/
//Spring的容器不扫描Controller
@ComponentScan(value = "club.caihappy",excludeFilters = {
        @Filter(type = FilterType.ANNOTATION,classes = Controller.class)
})
public class RootConfig {

}
